#ifndef __PIERCAP_H__
#define __PIERCAP_H__

#include "SectionBasic.h"
#include "QKMatrix.h"

typedef struct PierCap {
	SectionBasic* section_coordinate;
	FType thick;
	FType w;
	FType w1;
	FType h1;
	FType h2;
	FType h_ear;
	FType thick_ear;
	FType grade;
	FType w2;
}PierCap;

PierCap* piercap_create(FType thick, FType w, FType w1, FType h1, FType h2, FType h_ear, FType thick_ear, FType grade, FType w2);
PierCap* piercap_free(PierCap* pc);

Matrix* piercap_calc_section(PierCap* pc);

#endif //__PIERCAP_H__